<%@ page language="java" import="java.util.*,java.sql.*" pageEncoding="UTF-8"%>
<html>
  <head>
    <title>输出页面</title>
	
  </head>
  
  <body>
  <% request.setCharacterEncoding("UTF-8"); %>
  <jsp:useBean id="stu" class="Student.student"/>
  <jsp:setProperty property="name" name="stu"/>
  <jsp:setProperty property="sex" name="stu"/>
  <jsp:setProperty property="brith" name="stu"/>
  <jsp:setProperty property="nation" name="stu"/>
  <jsp:setProperty property="introduction" name="stu"/>
    <table style="margin: auto; border:1px solid black;" cellspacing = "0" cellpadding = "0">
        <tr>
            <td style="border:1px solid black;">姓名</td>
            <td style="border:1px solid black;">性别</td>
            <td style="border:1px solid black;">出生日期</td>
            <td style="border:1px solid black;">民族</td>
        </tr>
        <tr>
            <td style="border:1px solid black;"><jsp:getProperty name="stu" property="name"/></td>
            <td style="border:1px solid black;"><jsp:getProperty name="stu" property="sex"/></td>
            <td style="border:1px solid black;"><jsp:getProperty name="stu" property="brith"/></td>
            <td style="border:1px solid black;"><jsp:getProperty name="stu" property="nation"/></td>
        </tr>
        <tr>
            <td style="border:1px solid black;">个人介绍</td>
            <td style="border:1px solid black;" rowspan="3"><jsp:getProperty name="stu" property="introduction"/></td>
        </tr>
    </table>
  </body>
</html>